import "@/assets/index.scss";
import "@/util/common"; //公共方法
import MiniFox from "@/util/minifox";
import Vue from "vue";
import router from "@/router"; //路由
import store from "@/store"; //状态管理
import service from "@/api/service"; //服务初始化
import "@/filters"; //导入所有筛选器并转为对象
import "@/directives"; //导入所有指令并转为对象
import "@/components"; //组件初始化
import App from "@/App";
import "font-awesome/css/font-awesome.css";

Vue.prototype.$minifox = MiniFox;
//挂api
Vue.prototype.$service = service;

new Vue({
  el: "#app",
  router,
  store,
  template: "<App/>",
  render: (h) => h(App),
  components: { App },
});
